import home from './pages/Home.vue'
import cinemaList from './pages/cinemaList.vue'
import movie from './pages/movie.vue'
import comments from './pages/comments.vue'
import cinema from './pages/cinema.vue'
import seats from './pages/seats.vue'
export default [
	{
		path: '/', components: {
			default: home
		},
		meta: {
			keepAlive: true//需要被缓存
		}
	},
	{
		path: '/cinemaList', components: {
			default: cinemaList
		}
	},
	{
		path: '/movie/:id', components: {
			default: movie
		}
	},
	{
		path: '/comments/:id', components: {
			default: comments
		}
	},
	{
		path: '/cinema/:id', components: {
			default: cinema
		}
	},
	{
		path: '/cinema', components: {
			default: cinema
		}
	},
	{
		path: '/seats/:cinemaId/movie/:movieId/date/:date/dateIndex/:dateIndex', components: {
			default: seats
		}
	}
]
